asm-x86/monitor: Fix monitor capability reporting on SVM systems
authorAlexandru Isaila <aisaila@bitdefender.com>
Mon, 12 Feb 2018 15:08:15 +0000 (17:08 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 14 Feb 2018 18:01:28 +0000 (18:01 +0000)
commitb4a5ed1eeb9e838fc426244ceef0c6cd0e0dc201
tree05daa74652cfe95ef4607279f44f8309a7b9085e
parenta2b08fbed388f18235fda5ba1655c1483ef3e215
asm-x86/monitor: Fix monitor capability reporting on SVM systems

No monitor features are available on AMD and all
capabilities are passed only to the Intel processor architecture.
This means that the arch_monitor_get_capabilities returns
capabilities = 0.

This patch is separating out features which are implemented on both
systems from those implemented only on Intel, so that we advertize the
working capabilities on AMD.

Signed-off-by: Alexandru Isaila <aisaila@bitdefender.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Acked-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
xen/include/asm-x86/monitor.h